/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.mocamorena.persistence;

import br.com.mocamorena.persistence.dao.CategoriaDao;
import br.com.mocamorena.persistence.dao.ClienteDao;
import br.com.mocamorena.persistence.dao.EnderecoDao;
import br.com.mocamorena.persistence.dao.ProdutoDao;
import br.com.mocamorena.persistence.dao.UsuarioDao;
import br.com.mocamorena.persistence.dao.impl.CategoriaDaoImpl;
import br.com.mocamorena.persistence.dao.impl.ClienteDaoImpl;
import br.com.mocamorena.persistence.dao.impl.EnderecoDaoImpl;
import br.com.mocamorena.persistence.dao.impl.UsuarioDaoImpl;

/**
 *
 * @author Diego
 */
public class DaoFactoryImpl implements DaoFactory {

    @Override
    public CategoriaDao createCategoriaDao() {
        return new CategoriaDaoImpl();
    }

    @Override
    public ClienteDao createClienteDao() {
        return new ClienteDaoImpl();
    }

    @Override
    public ProdutoDao createProdutoDao() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public UsuarioDao createUsuarioDao() {
        return new UsuarioDaoImpl();
    }

    @Override
    public EnderecoDao createEnderecoDao() {
        return new EnderecoDaoImpl();
    }
}
